package com.example.tijianserver.mapper;

import com.example.tijianserver.pojo.Cireport;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CireportMapper {
    int deleteByPrimaryKey(Integer cirId);

    int insert(Cireport record);

    int insertSelective(Cireport record);

    Cireport selectByPrimaryKey(Integer cirId);

    int updateByPrimaryKeySelective(Cireport record);

    int updateByPrimaryKey(Cireport record);
    @Select("select cirId, ciId, ciName, orderId from CiReport where orderId=#{orderId}")
    public List<Cireport> selectByOrderId(Integer orderId);
}